package helios.Controller;

import javafx.beans.property.SimpleStringProperty;

public class UserInfo {
    private SimpleStringProperty name=new SimpleStringProperty();
    private SimpleStringProperty imgurl=new SimpleStringProperty();
    public UserInfo(String name, String imgurl) {
        this.name.set(name);
        this.imgurl.set(imgurl);
    }
    public SimpleStringProperty getNameProperty()
    {
        return this.name;
    }
    public SimpleStringProperty getImgurlProperty()
    {
        return this.imgurl;
    }
    public String getName() {
        return name.get();
    }

    public SimpleStringProperty nameProperty() {
        return name;
    }

    public void setName(String name) {
        this.name.set(name);
    }

    public String getImgurl() {
        return imgurl.get();
    }

    public SimpleStringProperty imgurlProperty() {
        return imgurl;
    }

    public void setImgurl(String imgurl) {
        this.imgurl.set(imgurl);
    }
}
